#parse("/common/common.html")
#dictCode($dictJson)
#appList($Apps)
 ##grid
<div class="row">
	<div class="col-xs-12">
		<div class="widget-box widget-color-blue">
		      <div class="widget-box widget-color-blue" id="queryFromDiv">
						<div class="widget-header">
							<h5 class="widget-title">
								<i class="ace-icon fa fa-search"></i>
								搜索
							</h5>
							<div class="widget-toolbar no-border">
								<a href="#" data-action="collapse">
									<i class="ace-icon fa fa-chevron-up bigger-125"></i>
								</a>
							</div>
						</div>
						<div class="widget-body">
							<div class="widget-main">
								<form id=queryFrom class="form-horizontal">
								   <input type="hidden" name="isSerialize" value="$!{isSerialize}">
									<form id=queryFrom class="form-horizontal">
										<div class="row">
										    <div class="col-sm-4">
												<div class="form-group">
													<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="warchouseId"><span class="form-require">*</span>入库仓库</label>
													<div  class="col-xs-10 col-sm-8" >
														<select class="form-control required" id="warchouseId" name="warchouseId">
														<option value="">请选择</option>
													    #select($dicts.Warehouse)
													    </select>
													</div>
												</div>
											</div>
											
											 <div class="col-xs-4">
												<div class="form-group">
													<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="sourceId"><span class="form-require">*</span>物料</label>
													<div  class="col-xs-10 col-sm-8" >
													    <span class="col-sm-10">
													       	<input  class="form-control required" type="text" id="materialName"  placeholder="物料" value="" readonly="readonly"/>
													        <input  type="hidden" id="materialNo" name="materialNo"/>
													    </span>
														 <span class="col-sm-2">
								                          <button class="btn btn-default" type="button" id="selectBtn">选择</button>
								                       </span>
													</div>
												</div>
											</div>
											
                                           <div class="col-sm-4">
												<div class="form-group">
													<label class="col-xs-2 col-sm-4 control-label no-padding-right" for="inOutType"><span class="form-require">*</span>出入库类型</label>
													<div  class="col-xs-10 col-sm-8" >
														<select class="form-control required" id="inOutType" name="inOutType">
														<option value="">请选择</option>
													    #select($dicts.InOutType)
													    </select>
													</div>
												</div>
											</div>
										</div>
								</form>
							</div>
						</div>
					</div>
			<div class="widget-body ud-grid-widget">
				<div class="widget-toolbox">
					<div class="btn-toolbar">#buttons($buttons.serialize)</div>
				</div>
				<table id="mainGrid" class="table table-striped m-b-none"></table>
				<div id="mainGridPager"></div>
			</div>
		</div>
	</div>
</div>

<script src="${contextPath}/view/depot/log/serialize/js/view.js"></script>